home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / misc-part1 / 1571 / text0000.txt < prev   
Encoding:
Text File  |  1996-08-05  |  1006 b   |  29 lines

  1. On Sat, 13 Jan 1996, Philip Chung wrote:
  2.  
  3. > Hi all,
  4. > Could somebody recommend a startup program which will let me execute
  5. > different startup-sequences according to which mouse button is pressed?
  6. > I would like to use a different startup when I boot up using a 15kHz
  7. > monitor so that I don't get any crazy screens.
  8.  
  9. I wrote a program called Buttons to use in my startup-sequence, which 
  10. does this sort of thing. If you want to check for left button for instance:
  11.     buttons l
  12.     if warn
  13.         execute s:other-startup
  14.         quit ;if other-startup doesn't endcli
  15.     endif
  16. I don't think it is practically possible to combine these lines into 
  17. just one program, because of the way script execution works.
  18.  
  19. If you want a copy of Buttons (with minimal documentation) e-mail me.
  20.  
  21. Ben.
  22.  
  23. --
  24. Ben Hutchings, student. Finger me on worc0223@sable.ox.ac.uk for more rubbish.
  25. email: benjamin.hutchings@worc.ox.ac.uk   WWW: http://sable.ox.ac.uk/~worc0223
  26.      Speak out against OUCS .sig censorship! See my web pages for details
  27.  
  28.